﻿using System;
#if (SMARTPHONE || SILVERLIGHT || XBOX)
#else
using System.Runtime.Serialization;
#endif

namespace Narwhunderful.Aphelia.Framework.IO.Serialization
{

#if (SMARTPHONE || SILVERLIGHT || XBOX)
#else
    [Serializable]
#endif

    public class DeserializingException : Exception
    {

        public DeserializingException()
        {
        }

        public DeserializingException(string message)
            : base(message)
        {
        }

        public DeserializingException(string message, Exception inner)
            : base(message, inner)
        {
        }

#if (SMARTPHONE || SILVERLIGHT || XBOX)
#else
        /// <summary>
        /// </summary>
        /// <param name = "info"></param>
        /// <param name = "context"></param>
        protected DeserializingException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
#endif

    }
}
